package com.tsc.springTemp.annotation;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: chentl
 * @Date: 2025/09/14/15:09
 * @Description:
 */
public class UserMain {

    public static void main(String[] args) {
        System.out.printf("开始");
        User user = new User("", 18);
        try {
            Validator.validate(user);
        } catch (IllegalAccessException e) {
            throw new RuntimeException(e);
        } catch (ValidationException e) {
            throw new RuntimeException(e);
        }
    }
}
